﻿<div class="container Speedtraining" ng-controller="courseConllection">
    <!--收藏课程-->
    <div class="xueyuanduan_renwulist_top">
        <div class="member_main">
            <h5>
                <span ng-bind="'CourseCollection'|T">收藏课程</span></h5>
            <div style="padding: 5px 15px;">
                <!--null-->
                <center style="margin: 100px auto;" ng-if="courseList.length<=0 && !courseColnLoading">
                        <img src="/images/knownull.png" />
                        <div style="font-size:30px;color:#a3a3a3;" ng-bind="'Null' | T"></div>
                </center>
                <!--loading-->
                <loading isloading="courseColnLoading" ng-if="courseColnLoading"></loading>  
                <!--context-->
                <table class="tab" style="border: 0;">
                    <tbody>
                        <tr ng-repeat="course in courseList">
                            <td width="190">
                                <img ng-src="{{course.course_img}}" src="/images/train/fengmian003.gif" width="180">
                            </td>
                            <td>
                                <b>{{course.course_Name}}</b><br>
                                <!--更新时间-->
                                {{'UpdateTime'|T}}：{{course.upd_Date?course.upd_Date:course.create_Date}}<br />
                                <!--课程来源-->
                                课程来源：{{course.course_Detailed==1?"公开课":"任务"}}<br />
                                <!--课程包含两个小节-->
                                {{'NumberOfSections'|T}}：{{course.sectionSum==underfined?0:course.sectionSum}}{{'section'|T}}
                            </td>
                            <td>
                                <div class="cprogress">
                                    <div class="cprogress_bg">
                                        <div class="cprogress_value" style="width:{{(course.complete==undefined)?'0%':course.complete}}">
                                        </div>
                                    </div>
                                    <div class="text">
                                        {{(course.complete==undefined)?'0%':course.complete}}</div>
                                </div>  
                            </td>
                            <td>
                                <a ng-click="openKe(course)" target="_blank" class="btn queding" ng-bind = "'continueLearning' |T "></a>
                            </td>
                        </tr> 
                        <!-- 加载更多数据-->
                        <tr ng-click="nextFindConllection()" ng-if=" course.length >= courseCount && !courseColnLoading">
                            <td colspan="4" style="text-align: center; cursor:pointer;"> <i class="iconfont">&#xec50;</i>{{'jiazaigengduoshuju'|T}} </td>
                        </tr>                     
                    </tbody>
                </table>
            </div>
        </div>        
    </div>
</div>
